Fluent Assertions Documentation
FluentAssertions Assembly / FluentAssertions.Specialized Namespace / GenericAsyncFunctionAssertions<TResult> Class / NotThrowAfterAsync Method
The time after which the Task should have stopped throwing any exception.
The time between subsequent invocations of the Task.
A formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
Zero or more objects to format using the placeholders in because.
In This Topic
    NotThrowAfterAsync Method (GenericAsyncFunctionAssertions<TResult>)
    In This Topic
    Asserts that the current Task stops throwing any exception after a specified amount of time.
    Syntax

    Parameters

    waitTime
    The time after which the Task should have stopped throwing any exception.
    pollInterval
    The time between subsequent invocations of the Task.
    because
    A formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
    becauseArgs
    Zero or more objects to format using the placeholders in because.
    Exceptions
    ExceptionDescription
    because
    waitTime or pollInterval are negative.
    Permissions
    PermissionDescription
    because
    Remarks
    The Task is invoked. If it raises an exception, the invocation is repeated until it either stops raising any exceptions or the specified wait time is exceeded.
    Example
    because
    Supported Frameworks
    because
    See Also